package com.bestcem.xm.survey.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @TableName ds_survey_respondentweixin
 */
@TableName(value = "ds_survey_respondentweixin")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyRespondentWeixin extends BaseEntity2 {
    /**
     *
     */
    @TableId(value = "id")
    private String id;

    /**
     * 问卷ID
     */
    @TableField(value = "project_id")
    @JSONField(name = "project_id")
    private String projectId;

    /**
     * respondent_id
     */
    @TableField(value = "rid")
    private String rid;

    /**
     * wx_unionid
     */
    @TableField(value = "union_id")
    @JSONField(name = "union_id")
    private String unionId;

    /**
     * wx_nickname
     */
    @TableField(value = "wx_nickname")
    @JSONField(name = "wx_nickname")
    private String wxNickname;

    /**
     * wx_city
     */
    @TableField(value = "wx_city")
    @JSONField(name = "wx_city")
    private String wxCity;

    /**
     * wx province
     */
    @TableField(value = "wx_province")
    @JSONField(name = "wx_province")
    private String wxProvince;

    /**
     * wx_app_id
     */
    @TableField(value = "app_id")
    @JSONField(name = "app_id")
    private String appId;

    /**
     * wx_open_id
     */
    @TableField(value = "open_id")
    @JSONField(name = "open_id")
    private String openId;

    /**
     * wx country
     */
    @TableField(value = "wx_country")
    @JSONField(name = "wx_country")
    private String wxCountry;

    /**
     * wx sex
     */
    @TableField(value = "wx_sex")
    @JSONField(name = "wx_sex")
    private Integer wxSex;

    /**
     * wx_channel 渠道
     */
    @TableField(value = "channel")
    private String channel;

    /**
     * wx_email 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * wx_position 职位
     */
    @TableField(value = "position")
    private String position;

    /**
     * wx_department 所在部门
     */
    @TableField(value = "department")
    private String department;

    /**
     * wx_corp_name 企业名称
     */
    @TableField(value = "corp_name")
    @JSONField(name = "corp_name")
    private String corpName;

    /**
     * wx_avatar 头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * mobile 手机号
     */
    @TableField(value = "mobile")
    private String mobile;
}